@import "../global/global";

// Panel
//
// Markup:
// <div class="ring-panel">
//  <button class="ring-button_primary ring-button">Accept</button>
//  <button class="ring-button">Decline</button>
// </div>

.ring-panel {
  position: relative;
  margin-top: 2*$ring-unit;
  padding: 2*$ring-unit 0 2*$ring-unit 2*$ring-unit;
  background-color: $ring-light-blue-color;
  background-color: rgba(37, 183, 255, 0.1);

  &:empty {
    display: none;
  }

  .ring-button {
    margin-right: 2*$ring-unit;
  }
}

.ring-panel_transparent {
  background: none;
}

.ring-panel_black {
  border: 1px solid #000;
}

.ring-panel__4x {
  padding: 2*$ring-unit 4*$ring-unit;
}

.ring-panel__panel-controls {
  position: relative;
}

.ring-panel__icon-list {
  list-style: none;
  position: relative;
  top: $ring-unit;
  display: inline-block;
  margin: 0;
  padding: 0;
}

.ring-panel__icon-list + * {
  position: absolute;
  top: $ring-unit;
  right: 0;

  line-height: 3*$ring-unit;
}

.ring-panel__icon {
  float: left;
  margin-right: $ring-unit;
}

.ring-panel__icon-img {
  display: block;
  background: url();
  width: 24px;
  height: 24px;
  opacity: 0.5;
  transition: 0.2s;
  user-select: none;
  border: 0;
  outline: 0;

  &:hover {
    opacity: 1;
  }
}

.ring-panel__b-rem {
  display: block;
  margin-bottom: $ring-unit;
}
